class UserInfoConfig {
  late String userId; //用户id
  late String userToken; //登录token
  String niceName; //用户你才
  String faceUrl; //用户头像

  UserInfoConfig(this.userId, this.userToken, this.niceName, this.faceUrl);

  @override
  String toString() {
    return 'PwdInfo{userId: $userId, userToken: $userToken}';
  }

  @override
  bool operator ==(Object other) =>
      identical(this, other) ||
      other is UserInfoConfig &&
          runtimeType == other.runtimeType &&
          userId == other.userId &&
          userToken == other.userToken;

  @override
  int get hashCode => userId.hashCode ^ userToken.hashCode;
}
